//
//  FlowControlViewController.h
//  NaRiLSVMT
//
//  Created by jmsre on 14-8-18.
//  Copyright (c) 2014年 helloyouth.org. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ThumbView.h"
#import "TopScreenView.h"
#import "RootScreenView.h"
#import "AllNodesInScrollView.h"
#import "FlowDetailViewController.h"

@interface FlowControlViewController : UIViewController<
    ThumbViewDelegate,
    AllNodesInScrollDelegate,
    TopScreenViewDelegate,
    FlowDetailViewDelegate
>




@property (strong, nonatomic) IBOutlet UIView *navigationView;


@property (weak, nonatomic) IBOutlet UIView *topViewInFlow;

//Strong  UIImageView *topImageViewInFlow;

@property (weak, nonatomic) IBOutlet UIView *bottomSmallView;


@property (weak, nonatomic) IBOutlet UILabel *flowCounts;
@property (weak, nonatomic) IBOutlet UITextField *flowNoteIntervalTime;
@property (weak, nonatomic) IBOutlet UIButton *pageTurnLeftButton;
@property (weak, nonatomic) IBOutlet UIButton *pageTurnRightButton;

@property (weak, nonatomic) IBOutlet UIButton *expandButton;

@property (weak, nonatomic) IBOutlet UIScrollView *allThumbScrollView;

@property (weak, nonatomic) IBOutlet UILabel *playingFlowLabel;

@property (strong, nonatomic) UIView *textFieldProme;


- (IBAction)expandAction:(id)sender;
- (IBAction)pageLeftAction:(id)sender;
- (IBAction)pageRightAction:(id)sender;


//Strong  TopScreenView   *topScreenView;
//Strong  RootScreenView  *rootScreenView;

//init ThumbView:
-(void)initThumbViewInBottom:(NSMutableArray *)thumViewArr;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil Date:(NSArray *)data;

Strong  NSMutableArray *receiveData;

Copy    NSString    *flowId;
Copy    NSString    *flowName;//点击的流程名

Strong  NSMutableArray  *receiveFlowNodeData;
//Strong  NSMutableArray  *allNodeDataInFlow;//所有节点信息，多维数组
Copy    NSString    *flowNodeId;//第一个节点的Id


Assign  NSInteger   buttonIdInFlowBottom;//流程控制主界面，底部的三个按钮的索引id

Copy  NSString   *oldIndex;//投屏的前一个节点的index
Copy  NSString *nowIndex;


@end
